package com.recruit.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.recruit.model.InfoDO;
import com.recruit.service.InfoService;
import com.recruit.mapper.InfoMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author tzg157
* @description 针对表【info(资讯新闻表)】的数据库操作Service实现
* @createDate 2023-11-21 14:30:18
*/
@Service
public class InfoServiceImpl extends ServiceImpl<InfoMapper, InfoDO>
    implements InfoService{

    @Resource
    private InfoMapper infoMapper;

    @Override
    public boolean isTitleExists(String title) {
        return infoMapper.isTitleExists(title);
    }
}




